/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class TinhTrangBan {
    private int MaTTBan;
    private int MaNN;
    private String TenTTBan;
    public TinhTrangBan(){
        MaTTBan = 0;
        MaNN = 0;
        MaTTBan = 0;
        TenTTBan = "";
    }
    public void setMaTTBan (int value){
        MaTTBan = value;
    }
    public int getMaTTBan (){
        return MaTTBan;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN (){
        return MaNN;
    }
    public void setTenTTBan (String value){
        if(value == null)
            value = "";
        TenTTBan = value;
    }
    public String getTenTTBan(){
        return TenTTBan;
    }
}
